package com.alks.entity.data.entity.dispatch;

import com.alks.entity.data.i18n.TranslateFieldSerializer;
import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class ManulDispatchHead extends PageParam implements Serializable {
    private String rowid;
    private String companyId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dispatchDate;
    private String lotNo;
    private String style;
    private String process;
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String partName;
    private String workerIdNo;
    private Integer dispatchQty;
    private Integer lsNo;
    private Integer lsNo2;
    private String printFlag;
    private String userId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sysDate;
    private String processCode;
    @JsonSerialize(using = TranslateFieldSerializer.class)
    private String partName0;
    private String workerId;
    private String workerName;
    private String dispatchDept;
    private String dispatchType;
    private String dispatchName;
    private String combineLotNo;
    private String deptNo;
    private String salaryFlag;
    @JsonIgnore
    private Map<String, Object> params;
    private static final long serialVersionUID = 1L;

    public ManulDispatchHead() {
    }

    public String getSalaryFlag() {
        return this.salaryFlag;
    }

    public void setSalaryFlag(String salaryFlag) {
        this.salaryFlag = salaryFlag;
    }

    public String getDeptNo() {
        return this.deptNo;
    }

    public void setDeptNo(String deptNo) {
        this.deptNo = deptNo;
    }

    public String getCombineLotNo() {
        return this.combineLotNo;
    }

    public void setCombineLotNo(String combineLotNo) {
        this.combineLotNo = combineLotNo;
    }

    public String getRowid() {
        return this.rowid;
    }

    public void setRowid(String rowid) {
        this.rowid = rowid;
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public Date getDispatchDate() {
        return this.dispatchDate;
    }

    public void setDispatchDate(Date dispatchDate) {
        this.dispatchDate = dispatchDate;
    }

    public String getLotNo() {
        return this.lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo == null ? null : lotNo.trim();
    }

    public String getProcess() {
        return this.process;
    }

    public void setProcess(String process) {
        this.process = process == null ? null : process.trim();
    }

    public String getPartName() {
        return this.partName;
    }

    public void setPartName(String partName) {
        this.partName = partName == null ? null : partName.trim();
    }

    public String getWorkerIdNo() {
        return this.workerIdNo;
    }

    public void setWorkerIdNo(String workerIdNo) {
        this.workerIdNo = workerIdNo == null ? null : workerIdNo.trim();
    }

    public Integer getDispatchQty() {
        return this.dispatchQty;
    }

    public void setDispatchQty(Integer dispatchQty) {
        this.dispatchQty = dispatchQty;
    }

    public Integer getLsNo() {
        return this.lsNo;
    }

    public void setLsNo(Integer lsNo) {
        this.lsNo = lsNo;
    }

    public Integer getLsNo2() {
        return this.lsNo2;
    }

    public void setLsNo2(Integer lsNo2) {
        this.lsNo2 = lsNo2;
    }

    public String getPrintFlag() {
        return this.printFlag;
    }

    public void setPrintFlag(String printFlag) {
        this.printFlag = printFlag == null ? null : printFlag.trim();
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getSysDate() {
        return this.sysDate;
    }

    public void setSysDate(Date sysDate) {
        this.sysDate = sysDate;
    }

    public String getProcessCode() {
        return this.processCode;
    }

    public void setProcessCode(String processCode) {
        this.processCode = processCode == null ? null : processCode.trim();
    }

    public String getPartName0() {
        return this.partName0;
    }

    public void setPartName0(String partName0) {
        this.partName0 = partName0 == null ? null : partName0.trim();
    }

    public String getWorkerName() {
        return this.workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName == null ? null : workerName.trim();
    }

    public String getDispatchDept() {
        return this.dispatchDept;
    }

    public void setDispatchDept(String dispatchDept) {
        this.dispatchDept = dispatchDept == null ? null : dispatchDept.trim();
    }

    public String getDispatchType() {
        return this.dispatchType;
    }

    public void setDispatchType(String dispatchType) {
        this.dispatchType = dispatchType == null ? null : dispatchType.trim();
    }

    public String getDispatchName() {
        return this.dispatchName;
    }

    public void setDispatchName(String dispatchName) {
        this.dispatchName = dispatchName == null ? null : dispatchName.trim();
    }

    public Map<String, Object> getParams() {
        if (this.params == null) {
            this.params = new HashMap();
        }

        return this.params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public String getWorkerId() {
        return this.workerId;
    }

    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    public String getStyle() {
        return this.style;
    }

    public void setStyle(String style) {
        this.style = style;
    }
}
